<template>
  <div class="login">
    <Header />
    <section>
      <form action="" method="post">
        <div class="tal">
          <input type="text" placeholder="请输入手机号" />
        </div>
        <div class="pic">
          <input type="text" placeholder="请输入图形验证码" />
          <span class="code-box">
            <img
              src="https://m.tea7.com/Home/GetValidateCode?gui=4164.81232644414"
              alt=""
          /></span>
        </div>
        <div class="info">
          <input type="text" placeholder="请输入短信验证码" />
          <button type="button" class="mesg-code">获取短信验证码</button>
        </div>
        <div class="btn">登录</div>
        <div class="quick-nav">
          <span @click="$router.push('/userLogin')">
            <van-icon name="lock" />
            密码登录
          </span>
          <span>
            <van-icon name="phone" />
            快速注册
          </span>
        </div>
      </form>
    </section>
    <footer>
      <Tabbar />
    </footer>
  </div>
</template>

<script>
import Tabbar from "@/components/common/Tabbar.vue";
import Header from "@/views/login/Header.vue";
export default {
  components: {
    Tabbar,
    Header,
  },
  data() {
    return {};
  },
  methods: {},
};
</script>

<style lang="less" scoped>
.login {
  background: #f5f5f5;
  section {
    height: 550px;
    padding: 20px;
    div {
      margin-top: 20px;
      width: 100%;
      height: 44px;
      border-radius: 3px;
      input {
        border-radius: 0;
        border: none;
        width: 100%;
        height: 100%;
        padding: 0 7.5px;
        outline: 0;
        box-sizing: border-box;
        border: 1px solid #d7d7d7;
        font-size: 14px;
      }
    }
    .pic {
      position: relative;
      .code-box {
        position: absolute;
        width: 120px;
        height: 44px;
        right: 0;
        top: 0;
        border-left: 1px solid #d7d7d7;
      }
    }
    .info {
      position: relative;
      .mesg-code {
        position: absolute;
        width: 120px;
        height: 42px;
        line-height: 44px;
        right: 1px;
        top: 1px;
        background-color: #b0352f;
        color: #fff;
        font-size: 14px;
        border: none;
        outline: 0;
        border-radius: 2px;
        box-shadow: 0 0 0 1px #b0352f;
      }
    }
    .quick-nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .btn {
      line-height: 44px;
      text-align: center;
      background: #b0352f;
      color: #fff;
    }
  }
}
</style>